package com.prs.crm.service.crm;

import java.util.List;

import com.prs.crm.domain.crm.Customer;
import com.prs.crm.domain.crm.CustomerAgent;
import com.prs.crm.domain.crm.CustomerProject;
import com.prs.crm.domain.crm.CustomerSupplier;
import com.prs.crm.domain.crm.DocumenTary;
import com.prs.crm.domain.crm.Linkman;
import com.prs.crm.service.BaseService;

public interface DocumenTaryService  extends BaseService<DocumenTary>{
	/**
	 * 根据客户查询跟单集合
	 * @param customer
	 * @return
	 */
	List<DocumenTary> getTaryByid(Customer customer);
	/**
	 * 查询代理商跟单
	 * @param customerAgent
	 * @return
	 */
	List<DocumenTary> getDocumenTaryByAgent(CustomerAgent customerAgent);
	/**
	 * 查询联系人跟单
	 * @param linkman
	 * @return
	 */
	List<DocumenTary> getDocumenTaryByLinkman(Linkman linkman);
	/**
	 * 查询供应商跟单
	 * @param customerAgent
	 * @return
	 */
	List<DocumenTary> getDocumenTaryBySupplier(CustomerSupplier customerSupplier);
	/**
	 * 查询项目跟单
	 * @param customerAgent
	 * @return
	 */
	List<DocumenTary> getDocumenTaryByProject(CustomerProject customerProject);
}
